

#import <Foundation/Foundation.h>

@interface PywCipherUtils : NSObject

/**
 * md5加密
 */
+ (NSString *)md5:(NSString *)text;

/**
 * 非对称加密
 */
+ (NSData *)encryptRSA:(NSString *)publicKey plainData:(NSData *)plainData;

/**
 * base64加密
 */
+ (NSData *)base64Decode:(NSString *)string;

/**
 * base64解密
 */
+ (NSString *)base64Encode:(NSData *)data;


+ (NSString *)stringHiddenWithString:(NSString *)string count:(int)count replacement:(NSString *)replacement;


///**
// * 非对称加密私钥加密
// */
//+ (NSString *)signString:(NSString *)string;



@end
